﻿
// <copyright file="IAtomicOperationSupported.cs" company="Subhadra Software Solutions">
//   
// </copyright>
// <summary>
//   The IAtomicOperationSupported interface.
// </summary>


namespace SubhadraSolutions.Sharp.Utils.Threading
{
    using System;

    /// <summary>
    /// The IAtomicOperationSupported interface.
    /// </summary>
    public interface IAtomicOperationSupported
    {
        /// <summary>
        /// Performs the atomic operation.
        /// </summary>
        /// <param name="action">
        /// The action.
        /// </param>
        void PerformAtomicOperation(Action action);
    }
}
